;****************************************************************************************
;
; Dnetr73.inf
;
;   This installation script supports Windows 7 for the
;   D-Link series USB Wireless LAN Card.
;
;   Copyright (c)2002-2009 , D-Link Corp., All Rights Reserved.
;
;****************************************************************************************

[Version]
Signature       = "$Chicago$"
Class           = Net
ClassGUID       = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider        = %Provider%
Compatible      = 1
CatalogFile     = Dnetr73.cat
DriverVer       = 06/17/2009, 4.00.02.0000

[ControlFlags]
;***********D-Link 802.11g board  ***********
ExcludeFromSelect = *

[Manufacturer]
%D-Link%        = D-Link, NTx86.6.1


;*******************************************************************************************
; Win7 specific entries
;*******************************************************************************************
[D-Link.NTx86.6.1]
; DisplayName               Section                 DeviceID
; -----------               -------                 --------
%D-Link_3C0C.DeviceDesc%    = RTWLAN.ndi,           USB\VID_07D1&PID_3C0C
%D-Link_3C03.DeviceDesc%    = RTWLAN.ndi,           USB\VID_07D1&PID_3C03
%D-Link_3C04.DeviceDesc%    = RTWLAN.ndi,           USB\VID_07D1&PID_3C04
%D-Link_3C07.DeviceDesc%    = RTWLAN.ndi,           USB\VID_07D1&PID_3C07

;*******************************************************************************************
; Win7 specific entries
;*******************************************************************************************
[RTWLAN.ndi.NT]
Include=netvwifibus.inf
Needs=VWiFiBus.CopyFiles
AddReg                  = Common.reg, RTUSB_OS61.ndi.NT.reg
Characteristics         = 0x84                      ; NCF_REMOVABLE | NCF_HAS_UI | NCF_PHYSICAL
BusType                 = 15                        ;USB
CopyFiles               = NT.CopyFiles
*IfType = 71              ; IF_TYPE_IEEE80211
*MediaType = 16           ; NdisMediumNative802_11
*PhysicalMediaType = 9    ; NdisPhysicalMediumNative802_11

;*******************************************************************************************
; Win7 services sections
;*******************************************************************************************

[RTWLAN.ndi.NT.Services]
Include=netvwifibus.inf
Needs=VWiFiBus.Services
AddService              = Dnetr73, 2, General.Service, common.EventLog

[RTWLAN.ndi.NT.HW]
Include=netvwifibus.inf
Needs=VWiFiBus.PnPFilterRegistration


;*******************************************************************************************

; common regs for NT
;*******************************************************************************************

[Common.reg]
;
; WirelessMode
;
HKR, ,                            WirelessMode,    0, "3"

;
; Channel
;
HKR, ,                            Channel,         0, %CHANNEL%
HKR, Default,                     Channel,         0, %CHANNEL%

;
; Enable TX Burst
;
HKR, ,                            TXBurst,         0, "1"

;
; Use Short Slot Time
;
HKR, ,                            ShortSlot,       0, "1"

;
; Use Turbo rate
;
HKR, ,                            TurboRate,       0, "0"

; Show Hidden SSID in Site Survey Page
HKR, ,                            ShowHiddenSSID,  0, "1"   ; 0=disable(default), 1=enable

;
; Use Ofdm rate in adhoc mode
;
HKR, ,                            AdhocOfdm,       0, "1"

; FrameAggregation
;
HKR, ,                            FrameAggregation,0, "1"

;
; Country Region G Band
;
HKR, ,                                 CountryRegion,      0, "0"
;HKR, NDI\params\CountryRegion,         ParamDesc,          0, %CountryRegion24G%
;HKR, NDI\params\CountryRegion,         type,               0, "enum"
;HKR, NDI\params\CountryRegion,         default,            0, "0"
;HKR, NDI\params\CountryRegion\enum,    0,                  0, %CountryRegion24G_0%
;HKR, NDI\params\CountryRegion\enum,    1,                  0, %CountryRegion24G_1%
;HKR, NDI\params\CountryRegion\enum,    2,                  0, %CountryRegion24G_2%
;HKR, NDI\params\CountryRegion\enum,    3,                  0, %CountryRegion24G_3%
;HKR, NDI\params\CountryRegion\enum,    4,                  0, %CountryRegion24G_4%
;HKR, NDI\params\CountryRegion\enum,    5,                  0, %CountryRegion24G_5%
;HKR, NDI\params\CountryRegion\enum,    6,                  0, %CountryRegion24G_6%
;HKR, NDI\params\CountryRegion\enum,    7,                  0, %CountryRegion24G_7%

;
; Country Region A Band
;
HKR, ,                                 CountryRegionABand, 0, "7"
;HKR, NDI\params\CountryRegionABand,    ParamDesc,          0, %CountryRegion5G%
;HKR, NDI\params\CountryRegionABand,    type,               0, "enum"
;HKR, NDI\params\CountryRegionABand,    default,            0, "0"
;HKR, NDI\params\CountryRegionABand\enum,0,                 0, %CountryRegion5G_0%
;HKR, NDI\params\CountryRegionABand\enum,1,                 0, %CountryRegion5G_1%
;HKR, NDI\params\CountryRegionABand\enum,2,                 0, %CountryRegion5G_2%
;HKR, NDI\params\CountryRegionABand\enum,3,                 0, %CountryRegion5G_3%
;HKR, NDI\params\CountryRegionABand\enum,4,                 0, %CountryRegion5G_4%
;HKR, NDI\params\CountryRegionABand\enum,5,                 0, %CountryRegion5G_5%
;HKR, NDI\params\CountryRegionABand\enum,6,                 0, %CountryRegion5G_6%
;HKR, NDI\params\CountryRegionABand\enum,7,                 0, %CountryRegion5G_7%
;HKR, NDI\params\CountryRegionABand\enum,8,                 0, %CountryRegion5G_8%
;HKR, NDI\params\CountryRegionABand\enum,9,                 0, %CountryRegion5G_9%
;HKR, NDI\params\CountryRegionABand\enum,10,                0, %CountryRegion5G_10%

;
; Radio On/Off
;
HKR, ,                            Radio,           0, "0"
;HKR, NDI\params\Radio,            ParamDesc,       0, %RadioOnOff%
;HKR, NDI\params\Radio,            type,            0, "enum"
;HKR, NDI\params\Radio,            default,         0, "0"
;HKR, NDI\params\Radio\enum,       1,               0, %Disable%
;HKR, NDI\params\Radio\enum,       0,               0, %Enable%

;
; IEEE80211H
;
HKR, ,                            IEEE80211H,      0, "0"
;HKR, NDI\params\IEEE80211H,       ParamDesc,       0, %IEEE802_11h%
;HKR, NDI\params\IEEE80211H,       type,            0, "enum"
;HKR, NDI\params\IEEE80211H,       default,         0, "0"
;HKR, NDI\params\IEEE80211H\enum,  0,               0, %Disable%
;HKR, NDI\params\IEEE80211H\enum,  1,               0, %Enable%

;
; CarrierDetect
;
HKR, ,                               CarrierDetect,   0, "0"
;HKR, NDI\params\CarrierDetect,       ParamDesc,       0, %CarrierDetect%
;HKR, NDI\params\CarrierDetect,       type,            0, "enum"
;HKR, NDI\params\CarrierDetect,       default,         0, "0"
;HKR, NDI\params\CarrierDetect\enum,  0,               0, %Disable%
;HKR, NDI\params\CarrierDetect\enum,  1,               0, %Enable%

;
; SmartScan
;
HKR, ,                               SmartScan,       0, "1"
HKR, NDI\params\SmartScan,           ParamDesc,       0, %SmartScan%
HKR, NDI\params\SmartScan,           type,            0, "enum"
HKR, NDI\params\SmartScan,           default,         0, "0"
HKR, NDI\params\SmartScan\enum,      0,               0, %Disable%
HKR, NDI\params\SmartScan\enum,      1,               0, %Enable%

;
; WMMCapable
;
HKR, ,                            WMMCapable,      0, "1"
HKR, NDI\params\WMMCapable,             ParamDesc, 0, %WMM_CAPABLE%
HKR, NDI\params\WMMCapable,             type,      0, "enum"
HKR, NDI\params\WMMCapable,             default,   0, "1"
HKR, NDI\params\WMMCapable\enum,        0,         0, %Disable%
HKR, NDI\params\WMMCapable\enum,        1,         0, %Enable%

;
; APSDCapable
;
HKR, ,                            APSDCapable,     0, "0"
HKR, NDI\params\APSDCapable,            ParamDesc, 0, %APSD_CAPABLE%
HKR, NDI\params\APSDCapable,            type,      0, "enum"
HKR, NDI\params\APSDCapable,            default,   0, "1"
HKR, NDI\params\APSDCapable\enum,       0,         0, %Disable%
HKR, NDI\params\APSDCapable\enum,       1,         0, %Enable%

;
; APSDAC_BE
;
HKR, ,                            APSDAC_BE,       0, "0"
HKR, NDI\params\APSDAC_BE,              ParamDesc, 0, %AC_BE_APSD%
HKR, NDI\params\APSDAC_BE,              type,      0, "enum"
HKR, NDI\params\APSDAC_BE,              default,   0, "1"
HKR, NDI\params\APSDAC_BE\enum,         0,         0, %Disable%
HKR, NDI\params\APSDAC_BE\enum,         1,         0, %Enable%

;
; APSDAC_BK
;
HKR, ,                            APSDAC_BK,       0, "0"
HKR, NDI\params\APSDAC_BK,              ParamDesc, 0, %AC_BK_APSD%
HKR, NDI\params\APSDAC_BK,              type,      0, "enum"
HKR, NDI\params\APSDAC_BK,              default,   0, "1"
HKR, NDI\params\APSDAC_BK\enum,         0,         0, %Disable%
HKR, NDI\params\APSDAC_BK\enum,         1,         0, %Enable%

;
; APSDAC_VI
;
HKR, ,                            APSDAC_VI,       0, "0"
HKR, NDI\params\APSDAC_VI,              ParamDesc, 0, %AC_VI_APSD%
HKR, NDI\params\APSDAC_VI,              type,      0, "enum"
HKR, NDI\params\APSDAC_VI,              default,   0, "1"
HKR, NDI\params\APSDAC_VI\enum,         0,         0, %Disable%
HKR, NDI\params\APSDAC_VI\enum,         1,         0, %Enable%

;
; APSDAC_VO
;
HKR, ,                            APSDAC_VO,       0, "0"
HKR, NDI\params\APSDAC_VO,              ParamDesc, 0, %AC_VO_APSD%
HKR, NDI\params\APSDAC_VO,              type,      0, "enum"
HKR, NDI\params\APSDAC_VO,              default,   0, "1"
HKR, NDI\params\APSDAC_VO\enum,         0,         0, %Disable%
HKR, NDI\params\APSDAC_VO\enum,         1,         0, %Enable%
                                    
;
; DLSCapable
;
HKR, ,                            DLSCapable,      0, "1"

;
; WPS Device Name
;
HKR, ,                            WPSDevName,      0, %WPS_DEVNAME_DEF_STR%
HKR, Default,                     WPSDevName,      0, %WPS_DEVNAME_DEF_STR%

;
; RaCoInstaller Options
;
HKR, ,                               RaCoInstOpt,     0,"00000000"

;
; EnableNewPS
;
HKR, ,                               EnableNewPS,     0, "0"


;*******************************************************************************************
; DestinationDirs
;*******************************************************************************************
[NT.CopyFiles]
Dnetr73.sys,,,2

[SourceDisksNames]
1 = %INSTALL_DISK_STR%,,,

[SourceDisksFiles]
Dnetr73.sys                = 1,,

[DestinationDirs]
NT.CopyFiles     = 12     ; system32\drivers subdirectory on NT
DefaultDestDir   = 11

;*******************************************************************************************
; NT specific
;*******************************************************************************************
[RTUSB_OS61.ndi.NT.reg]
HKR, Ndi,                   Service,            0, "Dnetr73"
HKR, Ndi\Interfaces,        UpperRange,         0, "ndis5"
HKR, Ndi\Interfaces,        LowerRange,         0, "wlan,ethernet,vwifi"

[General.Service]
DisplayName                 = %General.Service.DispName%
ServiceType                 = 1                             ;%SERVICE_KERNEL_DRIVER%
StartType                   = 3                             ;%SERVICE_AUTO_START%
ErrorControl                = 1                             ;%SERVICE_ERROR_NORMAL%
ServiceBinary               = %12%\Dnetr73.sys
LoadOrderGroup              = NDIS

[common.EventLog]
AddReg=common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll,%%SystemRoot%%\System32\drivers\Dnetr73.sys"
HKR, , TypesSupported,   0x00010001, 7



;*******************************************************************************************
; Strings
;*******************************************************************************************
[strings]
Provider                    = "D-Link Corporation"
D-Link                      = "D-Link Corporation"
D-Link_3C0C.DeviceDesc      = "D-Link AirPlus G DWL-G122 Wireless USB Adapter(rev.C2)"
D-Link_3C03.DeviceDesc      = "D-Link AirPlus G DWL-G122 Wireless USB Adapter(rev.C)"
D-Link_3C04.DeviceDesc      = "D-Link WUA-1340 USB Adapter"
D-Link_3C07.DeviceDesc      = "D-Link Wireless G DWA-110 USB Adapter"


INSTALL_DISK_STR            = "Wireless 11g USB Installation Disk"

General.Service.DispName    = "D-Link USB Extensible Wireless LAN Card Driver"

;
; Parameters
;
CountryRegion24G            = "Country Region 11G"
CountryRegion24G_0          = "#0 (Channel 1 - 11)"
CountryRegion24G_1          = "#1 (Channel 1 - 13)"
CountryRegion24G_2          = "#2 (Channel 10 - 11)"
CountryRegion24G_3          = "#3 (Channel 10 - 13)"
CountryRegion24G_4          = "#4 (Channel 14)"
CountryRegion24G_5          = "#5 (Channel 1 - 14)"
CountryRegion24G_6          = "#6 (Channel 3 - 9)"
CountryRegion24G_7          = "#7 (Channel 5 - 13)"
CountryRegion5G             = "Country Region 11A"
CountryRegion5G_0           = "#0 Ch(36 - 64,149 - 165)" 
CountryRegion5G_1           = "#1 Ch(36 - 140)"
CountryRegion5G_2           = "#2 Ch(36 - 64)"
CountryRegion5G_3           = "#3 Ch(52 - 64,149 - 161)"
CountryRegion5G_4           = "#4 Ch(149 - 165)"
CountryRegion5G_5           = "#5 Ch(149 - 161)"
CountryRegion5G_6           = "#6 Ch(36 - 48)"
CountryRegion5G_7           = "#7 Ch(36 - 165)"
CountryRegion5G_8           = "#8 Ch(52 - 64)"
CountryRegion5G_9           = "#9 Ch(34 - 46)"
CountryRegion5G_10          = "#10 Ch(34 - 64)"
RadioOnOff                  = "Radio On/Off"
Disable                     = "Disable"
Enable                      = "Enable"
IEEE802_11h                 = "IEEE802.11h"
SmartScan                   = "Multimedia/Gaming Environment"
CarrierDetect               = "Carrier Detect"

CHANNEL                     = "6"
WPS_DEVNAME_DEF_STR         = "D-Link Client"
WMM_CAPABLE		= "WMM Capable"
APSD_CAPABLE		= "APSD Capable"
AC_BE_APSD		= "AC_BE support APSD"
AC_BK_APSD		= "AC_BK support APSD"
AC_VI_APSD		= "AC_VI support APSD"
AC_VO_APSD		= "AC_VO support APSD"